package com.tangbao.comment.model;

import java.util.Date;

/**
 * 创建人:zhouxin
 * 创建时间:2018/9/29
 * 功能：评论实体
 */
public class Comment {

    /**
     * 评论id
     */
    private int commentId;
    /**
     * 资讯id
     */
    private int artId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 提交时间
     */
    private Date addTime;
    /**
     * 评论类型（那种类型文章的评论）
     */
    private String commentType;

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getArtId() {
        return artId;
    }

    public void setArtId(int artId) {
        this.artId = artId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getCommentType() {
        return commentType;
    }

    public void setCommentType(String commentType) {
        this.commentType = commentType;
    }
}
